package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    PageResult pageSelectDish(DishPageQueryDTO dto);

    DishVO selectDishById(Long id);


    List<Dish> selectDishByCategoryId(Long id);

    void insertDish(DishDTO dto);

    void statusStartOrStop(Integer status, Long id);

    void updateDish(DishDTO dto);

    void deleteDish(List<Long> ids);

    List<DishVO> getDishVO(Long categoryId);
}
